import {WeaTools} from 'ecCom';

//监控列表
export const getMonitor = params => {
  return WeaTools.callApi('/api/workplan/monitor/getMonitor', 'POST', params);
}

//监控列表
export const getFields = params => {
  return WeaTools.callApi('/api/workplan/monitorset/getFields', 'POST', params);
}

//监控高级搜索条件
export const getCondition = params => {
  return WeaTools.callApi('/api/workplan/monitor/getCondition', 'POST', params);
}

//监控删除/强制完成
export const operation = params => {
  return WeaTools.callApi('/api/workplan/monitor/delete', 'POST', params);
}